<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Maven Gettext Plugin - gettext:merge</title>
    <style type="text/css" media="all">
      @import url("./css/maven-base.css");
      @import url("./css/maven-theme.css");
      @import url("./css/site.css");
    </style>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                  <a href="http://sourceforge.net" id="bannerLeft">
    
                                    <img src="http://sourceforge.net/sflogo.php?group_id=121150&type=1" alt="" />
    
            </a>
                        <a href="http://code.google.com/p/gettext-commons/" id="bannerRight">
    
            Maven Gettext Plugin
    
            </a>
            <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2010-08-26
                      </div>
            <div class="xright">      
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                   <h5>Overview</h5>
            <ul>
              
    <li class="none">
                    <a href="usage.html">Usage</a>
          </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-info.html">Project Information</a>
                </li>
              
                
              
      
            
      
              
        <li class="collapsed">
                    <a href="project-reports.html">Project Reports</a>
                </li>
          </ul>
                                           <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
          </a>
                       
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2><a name="gettext:merge"></a>
gettext:merge</h2>
<p><strong>Full name</strong>:</p>
<p>org.xnap.commons:maven-gettext-plugin:1.2.3:merge</p>
<p><strong>Description</strong>:</p>
<div>Invokes the gettext:gettext goal and invokes msgmerge to update po
files.</div><p><strong>Attributes</strong>:</p>
<ul><li>Requires a Maven 2.0 project to be executed.</li>
<li>Binds by default to the lifecycle phase: <code>generate-resources</code>.</li>
<li>Invokes the execution of this plugin's goal <code>gettext</code> prior to executing itself.</li>
</ul>
<div class="section"><h3><a name="Required_Parameters"></a>
Required Parameters</h3>
<table class="bodyTable"><tr class="a"><th>Name</th>
<th>Type</th>
<th>Since</th>
<th>Description</th>
</tr>
<tr class="b"><td><strong><a href="#keysFile">keysFile</a>
</strong></td>
<td><code>String</code></td>
<td><code>-</code></td>
<td>Filename of the .pot file.<br />
<strong>Default value is</strong>: <code>keys.pot</code>.</td>
</tr>
<tr class="a"><td><strong><a href="#msgmergeCmd">msgmergeCmd</a>
</strong></td>
<td><code>String</code></td>
<td><code>-</code></td>
<td>The msgmerge command.<br />
<strong>Default value is</strong>: <code>msgmerge</code>.</td>
</tr>
<tr class="b"><td><strong><a href="#outputDirectory">outputDirectory</a>
</strong></td>
<td><code>File</code></td>
<td><code>-</code></td>
<td>The output directory for generated class or properties files.<br />
<strong>Default value is</strong>: <code>${project.build.outputDirectory}</code>.</td>
</tr>
<tr class="a"><td><strong><a href="#poDirectory">poDirectory</a>
</strong></td>
<td><code>File</code></td>
<td><code>-</code></td>
<td>The output directory for the keys.pot directory for merging .po
files.<br />
<strong>Default value is</strong>: <code>${project.build.sourceDirectory}/main/po</code>.</td>
</tr>
<tr class="b"><td><strong><a href="#sourceDirectory">sourceDirectory</a>
</strong></td>
<td><code>File</code></td>
<td><code>-</code></td>
<td>Source directory. This directory is searched recursively for .java
files.<br />
<strong>Default value is</strong>: <code>${project.build.sourceDirectory}</code>.</td>
</tr>
</table>
</div>
<div class="section"><h3><a name="Parameter_Details"></a>
Parameter Details</h3>
<p><strong><a name="keysFile">keysFile</a>
:</strong></p>
<div>Filename of the .pot file.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
<li><strong>Required</strong>: <code>Yes</code></li>
<li><strong>Expression</strong>: <code>${keysFile}</code></li>
<li><strong>Default</strong>: <code>keys.pot</code></li>
</ul>
<hr />
<p><strong><a name="msgmergeCmd">msgmergeCmd</a>
:</strong></p>
<div>The msgmerge command.</div><ul><li><strong>Type</strong>: <code>java.lang.String</code></li>
<li><strong>Required</strong>: <code>Yes</code></li>
<li><strong>Expression</strong>: <code>${msgmergeCmd}</code></li>
<li><strong>Default</strong>: <code>msgmerge</code></li>
</ul>
<hr />
<p><strong><a name="outputDirectory">outputDirectory</a>
:</strong></p>
<div>The output directory for generated class or properties files.</div><ul><li><strong>Type</strong>: <code>java.io.File</code></li>
<li><strong>Required</strong>: <code>Yes</code></li>
<li><strong>Expression</strong>: <code>${outputDirectory}</code></li>
<li><strong>Default</strong>: <code>${project.build.outputDirectory}</code></li>
</ul>
<hr />
<p><strong><a name="poDirectory">poDirectory</a>
:</strong></p>
<div>The output directory for the keys.pot directory for merging .po
files.</div><ul><li><strong>Type</strong>: <code>java.io.File</code></li>
<li><strong>Required</strong>: <code>Yes</code></li>
<li><strong>Expression</strong>: <code>${poDirectory}</code></li>
<li><strong>Default</strong>: <code>${project.build.sourceDirectory}/main/po</code></li>
</ul>
<hr />
<p><strong><a name="sourceDirectory">sourceDirectory</a>
:</strong></p>
<div>Source directory. This directory is searched recursively for .java
files.</div><ul><li><strong>Type</strong>: <code>java.io.File</code></li>
<li><strong>Required</strong>: <code>Yes</code></li>
<li><strong>Expression</strong>: <code>${sourceDirectory}</code></li>
<li><strong>Default</strong>: <code>${project.build.sourceDirectory}</code></li>
</ul>
</div>
</div>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2010
    
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
